package com.jintu.portal.repository.mongo.riskData;

import com.jintu.portal.pojo.entity.mongo.RuleDto;
import com.jintu.portal.repository.mongo.AbstractMongoDao;
import org.springframework.stereotype.Repository;

@Repository("ruleMongoDao")
public class RuleMongoDao extends AbstractMongoDao<RuleDto> {

    public RuleDto selectRuleChain(String column, String value){
        RuleDto score = queryByColumn(column, value, RuleDto.class);
        return score;
    }
}

